package com.pro.pojo;
//字典数据
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class SyDictData {
    private Integer dictCode;      //字典编码,
    private Integer dictSort;      //字典排序,
    private String dictLabel;      //字典标签,
    private String dictValue;      //字典键值,
    private String dictType;       //字典类型,
    private String cssClass;       //样式属性(其他td样式),
    private String listClass;      //表格回显样式,
    private Character isDefault;   //是否默认，y是，n否,
    private Character status;       //状态，0正常，1停用,
    private String createBy;       //创建人,
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String createTime;       //创建时间,
    private String updateBy;       //更新人,
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String updateTime;       //更新时间,
    private String remark;          //备注,
    private List<SyDictData> children;
}
